package com.bsoft.gol.hcs.specialist.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import com.bsoft.gol.hcs.specialist.entity.InspectReportRoutineDetailEntity;

import java.util.List;

/**
 * 检验报告常规明细dao
 * @author lanyu
 * @date 2021年10月14日 11:10
 */
public abstract class InspectReportRoutineDetailDAO extends HibernateSupportDelegateDAO<InspectReportRoutineDetailEntity> {

    /**
     * 获取检验报告详情
     * @param inspectReportId
     * @return
     */
    @DAOMethod(sql="from InspectReportRoutineDetailEntity where inspect_report_id =:inspectReportId ")
    public abstract List<InspectReportRoutineDetailEntity> queryReportRoutineDetailList(@DAOParam("inspectReportId") String inspectReportId);
}
